import { createPinia } from "pinia";

import persist from "pinia-plugin-persistedstate";
const pinia = createPinia();
pinia.use(persist);

export * from "./modules/user"; //接受user模块的所有按需导出，然后在导出
export * from "./modules/setting";

export default pinia;
